package com.yunji.order.bo;

import com.yunji.common.base.IModifyStatusBaseBO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/12/17 15:26
 * @description : TODO
 **/
@NoArgsConstructor
@Data
public class TradeModifyStatusBO implements IModifyStatusBaseBO<Long>{
    private Long tradeId;
    private Integer newStatus;
    private List<Integer> oldStatus;

    public TradeModifyStatusBO(Long tradeId, Integer newStatus, List<Integer> oldStatus) {
        this.newStatus = newStatus;
        this.oldStatus = oldStatus;
        this.tradeId = tradeId;
    }

    @Override
    public Long getId() {
        return getTradeId();
    }
}
